package provider.service;

import cn.cpf.DicStudent;
import cn.cpf.exercise.distributed.CommonService;
import org.apache.dubbo.config.annotation.Service;

/**
 * <b>Description : </b>
 *
 * @author CPF
 * Date: 2020/3/17 11:32
 */
@Service
public class CostServiceImpl implements CommonService {
    @Override
    public int pay(int number) {
        System.out.println(" call    : " + DicStudent.Gender.man.value());

        return 800 + number;
    }
}
